package net.aaa.hotel.dao;

import net.aaa.hotel.entity.HYg;

import java.util.List;
import java.util.Map;

public interface YGDao {
    List<Map> queryAll();



    List<Map> queryOne(String name);

    int addYg(HYg yg);

    int delYG(String gid);

    List<Map> findUserByNameAndPaddword(String name,String password);

    List<Map> getAllByPage(Integer curr,Integer nums,String condition);

    int getCount(String condition);

    List<Map> queryMing(String student);

    int addImg(HYg yg);

    int updM(HYg yg);

    List<Map> queryType();

    List<Double> queryMoney(Map map);

    List<Object> queryMouth();

    Map qeuryY(Map map);
}

 
